IOMMU: only try to share IOMMU and HAP tables for domains with P2M.
authorTim Deegan <tim@xen.org>
Tue, 23 Aug 2011 09:43:25 +0000 (10:43 +0100)
committerTim Deegan <tim@xen.org>
Tue, 23 Aug 2011 09:43:25 +0000 (10:43 +0100)
commitce686e3169f5e3aaee650d2120962851d351c9e7
tree9ff0b4f23dcd7fcfffa7a76956dde39a1a8ec9fb
parent6abdf3c829a15d8e051e2bf3fd231c45b70643f6
IOMMU: only try to share IOMMU and HAP tables for domains with P2M.
This makes the check more precise, and brings VTd in line with AMD code.

Signed-off-by: Tim Deegan <tim@xen.org>
xen/drivers/passthrough/amd/iommu_map.c
xen/drivers/passthrough/amd/pci_amd_iommu.c
xen/drivers/passthrough/iommu.c
xen/drivers/passthrough/vtd/iommu.c
xen/include/xen/iommu.h